package com.changgou;




import com.changgou.util.RedisAPI;
import com.xpand.starter.canal.annotation.EnableCanalClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;



@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@EnableEurekaClient
@EnableCanalClient
@EnableFeignClients
public class CanalApplication18083 {

    public static void main(String[] args) {
        SpringApplication.run(CanalApplication18083.class, args);
    }

    @Bean
    public RedisAPI redisAPI() {
        return new RedisAPI();
    }

}
